home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -screenplay- / shareware / freeciv / readme.org < prev    next >
Text File  |  2000-02-29  |  16KB  |  479 lines

  1. ====================
  2. Freeciv Version 1.10
  3. ====================
  4.  
  5. Welcome to Freeciv!
  6.  
  7. This archive contains Freeciv, a free Civilization clone for X,
  8. primarily under Unix.  It has support for multiplayer games locally or
  9. over a network, and an AI which gives most people a run for their money.
  10.  
  11. Freeciv aims to be mostly rule-compatible with Civilization II[tm],
  12. published by Sid Meier and Microprose[tm].  A few rules are different
  13. where we think it makes more sense, and we have lots and lots of
  14. adjustable parameters to make customizing games possible.
  15.  
  16. Freeciv has been implemented completely independently of Civilization;
  17. you do not need to own Civilization to play Freeciv.
  18.  
  19. Although the graphics are not as polished as those in Civilization II,
  20. the rules are very complete, and our multiplayer and networking code is
  21. excellent.
  22.  
  23. There may be a localized version of this file in the ./doc directory,
  24. named README.<locale> (e.g., README.de).
  25.  
  26.  
  27. Web site:
  28. =========
  29.  
  30. Freeciv's web site is here:
  31.  
  32.   http://www.freeciv.org/
  33.  
  34. We invite you to visit.  You can get the latest Freeciv news, releases
  35. and patches, find out about the Freeciv mailing lists, and see the
  36. Freeciv metaserver, which records games being played around the world.
  37.  
  38.  
  39. License:
  40. ========
  41.  
  42. Freeciv is released under the GNU General Public License.  In short,
  43. you may copy this program (including source) freely, but see the
  44. COPYING file for full details.
  45.  
  46.  
  47. Compiling and installing:
  48. =========================
  49.  
  50. Please read the INSTALL file carefully for instructions on how to get
  51. Freeciv compiled and installed on your machine.
  52.  
  53.  
  54. Starting a new game:
  55. ====================
  56.  
  57. Freeciv is actually two programs, a server and a client.  When a game
  58. is in progress, there will be one server program running, and as many
  59. client programs as there are human players.  The server does not need
  60. X, but the clients do.
  61.  
  62.     NOTE:
  63.  
  64.     The following examples assume that Freeciv has been installed on
  65.     your system, and that the directory containing the "civclient" and
  66.     "civserver" programs is in your PATH.  If Freeciv is not
  67.     installed, then you may want to use the "civ" and "ser" programs,
  68.     which can be found in the top Freeciv directory.  They are used
  69.     in exactly the same fashion as "civclient" and "civserver".
  70.  
  71. Running Freeciv involves starting the server, then the client(s)
  72. and AI(s), then telling the server to start the game.  Here are the
  73. steps:
  74.  
  75. Server:
  76.  
  77.   To start the server:
  78.  
  79.   |  % civserver
  80.  
  81.   Or for a list of command-line options:
  82.  
  83.   |  % civserver --help
  84.  
  85.   Once the server is started, a prompt will appear:
  86.  
  87.   |  For introductory help, type 'help'.
  88.   |  >
  89.  
  90.   and, you can see this information by using the help command:
  91.  
  92.   |  > help
  93.   |  Welcome - this is the introductory help text for the Freeciv server.
  94.   |
  95.   |  Two important server concepts are Commands and Options.
  96.   |  Commands, such as 'help', are used to interact with the server.
  97.   |  Some commands take one or more parameters, separated by spaces.
  98.   |  In many cases commands and command arguments may be abbreviated.
  99.   |  Options are settings which control the server as it is running.
  100.   |
  101.   |  To find out how to get more information about commands and options,
  102.   |  use 'help help'.
  103.   |
  104.   |  For the impatient, the main commands to get going are:
  105.   |    show   -  to see current options
  106.   |    set    -  to set options
  107.   |    start  -  to start the game once players have connected
  108.   |    save   -  to save the current game
  109.   |    quit   -  to exit
  110.   |  >
  111.  
  112.   If you like, you can use the 'set' command to set any of the various
  113.   server options for the game.  You can get a list of the options
  114.   with the 'show' command, and detailed descriptions of each with the
  115.   'help <option-name>' command.
  116.  
  117.   For example:
  118.  
  119.   |  > help xsize
  120.   |  Option: xsize  -  Map width in squares
  121.   |  Status: changeable
  122.   |  Value: 80, Minimum: 40, Default: 80, Maximum: 200
  123.  
  124.   And:
  125.  
  126.   |  > set xsize 100
  127.   |  > set ysize 80
  128.  
  129.   This will make the map twice as large as the default of 80x50.
  130.  
  131. Client:
  132.  
  133.   Now all the human players should join, by running the Freeciv
  134.   client:
  135.  
  136.   |  % civclient
  137.  
  138.   This assumes the server is running on the same machine.  If not, you
  139.   can either specify it on the command use with the '--server' option,
  140.   or enter it into the first dialog box once the client starts.
  141.  
  142.   For example, suppose the server is running on a different machine
  143.   called 'neptune'.  Then players would join with a command like:
  144.  
  145.   |  % civclient --server neptune
  146.  
  147.   If you're the only human player, then only one client needs to be
  148.   started.  In standard Unix fashion you can start the client
  149.   "in the background" by appending an ampersand:
  150.  
  151.   |  % civclient &
  152.  
  153.   Another option for the client you may like to try is the '--tiles'
  154.   option, which can be used to select different "tilesets" (that is,
  155.   different graphics for the map terrain, units, and so on).  The
  156.   distribution comes with two main tilesets, called "trident" and
  157.   "engels", and two variant tilesets, called "trident_shields" and
  158.   "engels_shields".  In this release the trident tileset is the default
  159.   (in some previous releases the engels tileset was the default).  The
  160.   two main tilesets have quite different graphic styles; you may find
  161.   you prefer one over the other.  The "_shields" variants use a shield-
  162.   shaped flag, which is smaller and may be less obscured.  The trident
  163.   tiles are smaller, so may be better if you have a small display.  But
  164.   try them both and decide for yourself -- to use the engels tileset
  165.   start the client with:
  166.  
  167.   |  % civclient --tiles engels
  168.  
  169.   Other tilesets may be available from the ftp site.
  170.  
  171.   Clients can be authorized to issue server commands.  To allow them
  172.   to use informational commands only, type at the server prompt
  173.  
  174.   |  > cmdlevel info
  175.  
  176.   Clients can now use '/help', '/list', '/show settlers', etc.
  177.  
  178. Computer Players:
  179.  
  180.   There are two ways to create AI players.  The first is to set
  181.   the number of players (human and AI) by setting the 'aifill'
  182.   server option.  For example:
  183.  
  184.   |  > set aifill 7
  185.  
  186.   After using the 'start' server command to start the game, any players
  187.   which aren't controlled by humans will be AI players.  For the above,
  188.   if two human players had joined, 5 AI players would be created.
  189.  
  190.   The second way is to explicitly create an AI with the 'create'
  191.   server command.  For example:
  192.  
  193.   |  > create HumanKiller
  194.  
  195.   This will create an AI-controlled player called HumanKiller.
  196.  
  197.   AI players are assigned to tribes after all human players have
  198.   chosen their tribes, but you can choose a particular tribe for an AI
  199.   player by using the normal name for that nation's leader.  For
  200.   example, to play against AI-controlled Romans, use this server
  201.   command:
  202.  
  203.   |  > create Caesar
  204.  
  205.   Note, this is just a preference:  If no other human player chooses
  206.   to play the Romans, then this AI will.
  207.  
  208. Server:
  209.  
  210.   When everybody has joined (use the "list" command to see who's in),
  211.   start the game with the "start" command:
  212.  
  213.   |  > start
  214.  
  215.  
  216. And the game is on!
  217.  
  218.  
  219. Announcing the game:
  220. ====================
  221.  
  222. If you do not want to limit your opponents to local friends or AI players,
  223. visit the Freeciv metaserver:
  224.  
  225.   http://meta.freeciv.org/metaserver
  226.  
  227. It is a list of Freeciv servers.  To make your own server announce itself
  228. there, start civserver with the '--meta' option, or just '-m' for short.
  229.  
  230. Caveats:
  231.  
  232.  1) Due to the inclusion of new features, different client and server
  233.     versions are often incompatible.  Not all incompatibilities
  234.     can be caught and reported properly.  One example is a 1.8.0 (or
  235.     later) client connecting to a 1.7.2 server: the client appears
  236.     to connect, but it never gets any messages from the server.
  237.  
  238.  2) If the Metaserver button in the connection dialog doesn't work,
  239.     check if your ISP uses a mandatory WWW proxy and make civclient
  240.     use it through the $http_proxy environment variable.  For instance,
  241.     if the proxy is proxy.myisp.com port 8888, set $http_proxy
  242.     to http://proxy.myisp.com:8888/ before starting the client.
  243.  
  244.  3) Sometimes there are no games on the metaserver.  This may be
  245.     partly because the metaserver has changed hosts, and previous
  246.     Freeciv versions do not know about the new address.  Also, games
  247.     no longer show up on the metaserver by default, instead people
  248.     have to deliberately use '--meta'.  If you want to play a game on
  249.     the metaserver, are there are none there, try starting one
  250.     yourself!
  251.  
  252.  
  253. Playing the game:
  254. =================
  255.  
  256. The game may be saved the game at any time using the 'save' server
  257. command, like so:
  258.  
  259.   |  > save mygame
  260.  
  261. The Freeciv client works pretty much as you would expect from a
  262. multiplayer civilization game.  That is, the players move at the same
  263. time.  There's a turn timeout value, which is by default set to 0
  264. seconds (no timeout).  The server operator can alter this value at
  265. any time with the 'set' command.
  266.  
  267. Have a look at the online help system. All three mouse-buttons are
  268. used, and documented in the help.
  269.  
  270. Players can push the 'Return' key to announce the end of their turn,
  271. or just push the 'Turn done' button.
  272.  
  273. Use the 'Players' dialog to see who has announced their end of turn,
  274. and who you're waiting for.  (Hey feller, are you asleep or what?? ;).
  275.  
  276. Use the input line at the bottom of the window for broadcasting
  277. messages to other players.
  278.  
  279. You can send a message to an individual player (say, 'peter') like so:
  280.  
  281.   |  peter: move that armor away *NOW*!
  282.  
  283. The server is smart enough to perform "name completion", so if you had
  284. typed "pet:", it will pick find a player name that matches the part of
  285. the name you typed.
  286.  
  287. On newer servers (version 1.8.1 or later, or some development 1.8.0
  288. versions) you can issue server commands from the client input line:
  289.  
  290.   |  /list
  291.   |  /set settlers 4
  292.   |  /save mygame.sav
  293.  
  294. The server operator will probably let you issue informational commands
  295. only.  This is partly because allowing clients to use all server
  296. commands has security implications; consider if a player tried:
  297.  
  298.   |  /save /etc/passwd
  299.  
  300. Of course the server should not be running with superuser privileges in
  301. any case, to reduce this sort of risk.
  302.  
  303. If you're just starting, and would like to get an idea of a strategy,
  304. have a look in the Freeciv playing HOWTO, contained in the HOWTOPLAY
  305. file.
  306.  
  307. For lots more information about the client, the server, and the
  308. concepts and rules of the game, see the Freeciv manual, available
  309. at the web pages at:
  310.  
  311.    http://www.freeciv.org/manual/main.html
  312.  
  313.  
  314. Ending the game:
  315. ================
  316.  
  317. There are three ways in which a game can end:
  318.  
  319. 1) Only one race is left.
  320. 2) The final year is reached.
  321. 3) A player builds and launches a spaceship, which reaches Alpha
  322.    Centauri first.
  323.  
  324. A score-table will be shown in all cases.  Hint: The server operator
  325. can set the final year while the game is still going by changing the
  326. 'end-year' option.  This is nice when the winner is obvious, but you
  327. don't want to play through the boring 'cleanup phase'.
  328.  
  329.  
  330. Restoring games:
  331. ================
  332.  
  333. You can restore a saved game by using the '-f' server option, eg:
  334.  
  335.   |  % civserver -f oursave2001.sav
  336.  
  337. Now the players can rejoin the game:
  338.  
  339.   |  % civclient -n Alexander
  340.  
  341. Notice how the player-name is specified with the -n option. It's vital
  342. that the player uses the same name as they had when the game was running,
  343. if they're to be allowed in.
  344.  
  345. The game may then be restarted with the 'start' command as usual.
  346.  
  347.  
  348. Server autostart:
  349. =================
  350.  
  351. When the maximum number of players have connected, the server auto-starts.
  352. The maximum number of players can be set with the 'maxplayers' option.
  353.  
  354.  
  355. Native Language Support:
  356. ========================
  357.  
  358. Freeciv supports several local languages.
  359.  
  360. You may choose which local language to use by specifying a "locale".
  361. Each locale has a standard name (e.g., 'de' for German).  If you have
  362. installed Freeciv, you may choose a locale by setting the environment
  363. variable LANG to that locale's standard name before running civserver
  364. and civclient.
  365.  
  366. For example, assuming you wish to use the German localization, you
  367. would do:
  368.  
  369.   export LANG; LANG=de   (in the Bourne shell (sh)),
  370. or
  371.   setenv LANG de         (in the C shell (csh)).
  372.  
  373. (You could do this in your .profile or .login file.)
  374.  
  375.  
  376. Log messages:
  377. =============
  378.  
  379. Both the client and server print messages known as "log messages".
  380. There are four categories of log messages: "fatal", "normal", "verbose",
  381. and "debug".
  382.  
  383. By default, fatal and normal messages are printed to standard output
  384. where the client or server was started.  You can direct log messages
  385. to a file instead of the screen with the "--log filename", or "-l
  386. filename" command line options.
  387.  
  388. You can change the level of log messages displayed with "--debug
  389. level" or "-d level" (or instead "-de level" for the Xaw client, since
  390. "-d" is ambiguous between "-debug" and "-display"), where "level" is
  391. 0, 1, or 2.  0 means show fatal messages only, 1 means show fatal and
  392. normal messages (the default), and 2 means show all fatal, normal, and
  393. verbose messages.
  394.  
  395. If you compiled with DEBUG defined (an easy way to do this is to
  396. configure with --enable-debug), then you can get debug level messages
  397. by setting the level to 3.  Also, it is possible to control debug
  398. level messages (but not other messages) on a per-file and per-line
  399. basis.  To do this use "--debug 3:str1:str2" (as many strings as you
  400. like, separated by colons) and any filenames which match those strings
  401. as a substring will have debug log messages turned on, and all other
  402. debug messages will be suppressed.  To control lines, use:
  403. "--debug 3:str1,min,max" and for files which match str1 only debug
  404. messages within the specified minimum and maximum lines will be
  405. printed.  Only one set of (min,max) can be applied to each file.
  406.  
  407. Example:
  408.  
  409.   |  % civserver -l my.log -d 2
  410.  
  411. This sends all server log messages to file "my.log", including verbose
  412. level messages.
  413.  
  414. Example:
  415.  
  416.   |  % civclient --debug 0
  417.  
  418. This suppresses all non-fatal client log messages.
  419.  
  420. Example:
  421.  
  422.   |  % civserver -d 3:log:civserver,120,500:autoattack
  423.  
  424. This turns on all fatal, normal and verbose messages for the server,
  425. and debug level messages for some specified modules.  Note that "log"
  426. will match "gamelog.c" as well as "log.c".  For "civserver.c", only
  427. debug messages between lines 120 and 500 will be printed.  This
  428. example only works if the server was compiled with DEBUG.
  429.  
  430.  
  431. Bugs:
  432. =====
  433.  
  434. Found a bug?  We really want to hear from you so we can fix it.
  435. See the file BUGS, for a list of known bugs in this release, and
  436. information about reporting new bugs.
  437.  
  438.  
  439. Mailing lists:
  440. ==============
  441.  
  442. We maintain three mailing lists.  One is for users of Freeciv,
  443. one is for developers of Freeciv, and the last is to notify developers
  444. of changes to the Freeciv source code.
  445.  
  446. The lists are called "freeciv", "freeciv-dev", and "freeciv-cvs".
  447. They are all public lists.
  448.  
  449. To send an email to the lists, address it to:
  450.  
  451.     <freeciv@freeciv.org>        (For Freeciv users)
  452.  
  453. or
  454.  
  455.     <freeciv-dev@freeciv.org>    (For bug reports, and Freeciv developers)
  456.  
  457. To subscribe, send mail to <listar@freeciv.org>, with the single word
  458. "subscribe", followed by the name of the list.  (Put this in the body
  459. of the email message, leaving the email subject line blank.)
  460.  
  461. Example: To subscribe to the "freeciv" mailing list, send the line
  462. "subscribe freeciv" to <listar@freeciv.org>.
  463.  
  464.  
  465. New Releases:
  466. =============
  467.  
  468. We make a major new release of Freeciv available about every three
  469. months.  Check the Freeciv website from time to time to see if there's
  470. a newer version!!
  471.  
  472.  
  473. And finally:
  474. ============
  475.  
  476. Have fun and give 'em hell!
  477.  
  478.                                    -- The Freeciv team.
  479.